package jpa.entitys.promis.sales;

import java.io.Serializable;

import javax.persistence.*;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the JOINT_OWNERS database table.
 * 
 */
@Entity
@Table(name="JOINT_OWNERS")
@NamedQueries({
    @NamedQuery(name = "JointOwner.findAll", query = " SELECT c FROM JointOwner c "),
    @NamedQuery(name = "JointOwner.findById", query = " SELECT c FROM JointOwner c WHERE c.jointOwnersId = :Id ")
})
public class JointOwner extends jpa.entitys.common.CommonEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="JOINT_OWNERS_ID", unique=true, nullable=false, length=100)
	private String jointOwnersId;
	
	@Override public String toString() { return org.apache.commons.lang.builder.ToStringBuilder.reflectionToString(this);}

	@Column(name="BILLING_FLAG", length=1)
	private String billingFlag;

	@Column(name="BOOKING_NO", precision=6)
	private BigDecimal bookingNo;

	@Column(name="BOOKING_SERIES", length=4)
	private String bookingSeries;

	@Column(length=20)
	private String city;

	@Column(length=2)
	private String company;

	@Column(name="CONTRACT_NUMBER", precision=6)
	private BigDecimal contractNumber;

	@Column(name="CONTRACT_SERIES", length=4)
	private String contractSeries;

	@Column(name="CREATED_BY")
	private String createdBy;

    @Temporal( TemporalType.DATE)
	@Column(name="CREATED_ON")
	private Date createdOn;

	@Column(name="DOCUMENT_TYPE", length=2)
	private String documentType;

	@Column(length=15)
	private String fax;

	@Column(name="FLAG_ANDOR", length=1)
	private String flagAndor;

	@Column(name="LAST_UPD_BY")
	private String lastUpdBy;

    @Temporal( TemporalType.DATE)
	@Column(name="LAST_UPD_ON")
	private Date lastUpdOn;

	@Column(name="OWNER_CODE", length=30)
	private String ownerCode;

	@Column(name="OWNER_NAME", length=300)
	private String ownerName;

	@Column(name="OWNERS_ADDRESS", length=300)
	private String ownersAddress;

	@Column(length=20)
	private String phone;

	@Column(length=30)
	private String project;

	@Column(name="QUOTE_NUMBER", precision=6)
	private BigDecimal quoteNumber;

	@Column(name="QUOTE_SERIES", length=4)
	private String quoteSeries;

	@Column(name="QUOTE_TYPE", length=2)
	private String quoteType;

	@Column(length=300)
	private String remarks;

	@Column(name="REVISION_NUMBER", precision=3)
	private BigDecimal revisionNumber;

	@Column(precision=6)
	private BigDecimal seq;

	@Column(name="TYPE_OF_CONTRACT", length=2)
	private String typeOfContract;

	@Column(length=6)
	private String zip;

    public JointOwner() {
    }

	public String getJointOwnersId() {
		return this.jointOwnersId;
	}

	public void setJointOwnersId(String jointOwnersId) {
		this.jointOwnersId = jointOwnersId;
	}

	public String getBillingFlag() {
		return this.billingFlag;
	}

	public void setBillingFlag(String billingFlag) {
		this.billingFlag = billingFlag;
	}

	public BigDecimal getBookingNo() {
		return this.bookingNo;
	}

	public void setBookingNo(BigDecimal bookingNo) {
		this.bookingNo = bookingNo;
	}

	public String getBookingSeries() {
		return this.bookingSeries;
	}

	public void setBookingSeries(String bookingSeries) {
		this.bookingSeries = bookingSeries;
	}

	public String getCity() {
		return this.city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCompany() {
		return this.company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	public BigDecimal getContractNumber() {
		return this.contractNumber;
	}

	public void setContractNumber(BigDecimal contractNumber) {
		this.contractNumber = contractNumber;
	}

	public String getContractSeries() {
		return this.contractSeries;
	}

	public void setContractSeries(String contractSeries) {
		this.contractSeries = contractSeries;
	}

	public String getCreatedBy() {
		return this.createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getCreatedOn() {
		return this.createdOn;
	}

	public void setCreatedOn(Date createdOn) {
		this.createdOn = createdOn;
	}

	public String getDocumentType() {
		return this.documentType;
	}

	public void setDocumentType(String documentType) {
		this.documentType = documentType;
	}

	public String getFax() {
		return this.fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getFlagAndor() {
		return this.flagAndor;
	}

	public void setFlagAndor(String flagAndor) {
		this.flagAndor = flagAndor;
	}

	public String getLastUpdBy() {
		return this.lastUpdBy;
	}

	public void setLastUpdBy(String lastUpdBy) {
		this.lastUpdBy = lastUpdBy;
	}

	public Date getLastUpdOn() {
		return this.lastUpdOn;
	}

	public void setLastUpdOn(Date lastUpdOn) {
		this.lastUpdOn = lastUpdOn;
	}

	public String getOwnerCode() {
		return this.ownerCode;
	}

	public void setOwnerCode(String ownerCode) {
		this.ownerCode = ownerCode;
	}

	public String getOwnerName() {
		return this.ownerName;
	}

	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}

	public String getOwnersAddress() {
		return this.ownersAddress;
	}

	public void setOwnersAddress(String ownersAddress) {
		this.ownersAddress = ownersAddress;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getProject() {
		return this.project;
	}

	public void setProject(String project) {
		this.project = project;
	}

	public BigDecimal getQuoteNumber() {
		return this.quoteNumber;
	}

	public void setQuoteNumber(BigDecimal quoteNumber) {
		this.quoteNumber = quoteNumber;
	}

	public String getQuoteSeries() {
		return this.quoteSeries;
	}

	public void setQuoteSeries(String quoteSeries) {
		this.quoteSeries = quoteSeries;
	}

	public String getQuoteType() {
		return this.quoteType;
	}

	public void setQuoteType(String quoteType) {
		this.quoteType = quoteType;
	}

	public String getRemarks() {
		return this.remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public BigDecimal getRevisionNumber() {
		return this.revisionNumber;
	}

	public void setRevisionNumber(BigDecimal revisionNumber) {
		this.revisionNumber = revisionNumber;
	}

	public BigDecimal getSeq() {
		return this.seq;
	}

	public void setSeq(BigDecimal seq) {
		this.seq = seq;
	}

	public String getTypeOfContract() {
		return this.typeOfContract;
	}

	public void setTypeOfContract(String typeOfContract) {
		this.typeOfContract = typeOfContract;
	}

	public String getZip() {
		return this.zip;
	}

	public void setZip(String zip) {
		this.zip = zip;
	}

}